import { xsEntity } from './commentity';
import { Column, Entity, ManyToOne } from 'typeorm';
import { spuitemEntity } from './spu';

/**
 * 描述
 */
@Entity()
export class skuEntity extends xsEntity {
    @Column({ comment: '小份10颗' })
    name: string;
    @Column({ comment: '价格' })
    price: string;


    @ManyToOne(() => spuitemEntity, user => user.sku)
    list: spuitemEntity;


}
